package TagRate.project.pages.client;

import com.google.gwt.core.client.GWT;
import com.google.gwt.user.client.ui.Composite;
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.Widget;
import com.web_bloks.content.client.ContentPage;

import TagRate.project.pages.client.PageData;

/**
 * 
 * @author Jean-Lou Dupont
 *
 */
public class MainPage extends Composite 
	implements ContentPage {

	public MainPage() {

		PageData MSG = GWT.create(PageData.class);
		
		String data = MSG.mainpage();
		//data = data.substring(1, data.length()-1);
		
		final HTML html = new HTML( data );
		initWidget(html);
		html.setSize("100%", "100%");
	}

	public Widget getDisplayWidget() {
		return this;
	}
	
	public String getPageName() {
		return "Main";
	}

	public boolean requiresLogin() {
		return false;
	}

	public void setParams(String params) {
		// TODO Auto-generated method stub
		
	}

	
}//END
